#include "set.h"

wxSize GetGridSize()
{
	wxSize size(32,32);
	return size;
}

static wxRadioButton* s_pShelter;
static wxRadioButton* s_pCanNotWalk;
static wxRadioButton* s_cancelShelter;
static wxRadioButton* s_pCanWalk;
void SetRatio(wxRadioButton* pShelter,wxRadioButton* pCanNotWalk,wxRadioButton* cancelShelter,wxRadioButton* pCanWalk)
{
	s_pShelter		= pShelter;     
	s_pCanNotWalk	= pCanNotWalk;  
	s_cancelShelter	= cancelShelter;
	s_pCanWalk		= pCanWalk;     
}

ECheckType GetCheckType()
{
	ECheckType type;
	if(s_pShelter->GetValue())
		type = ECTShelter;
	else if(s_pCanNotWalk->GetValue())
		type = ECTCanNotWalk;
	else if(s_cancelShelter->GetValue())
		type = ECTNoShelter;
	else if(s_pCanWalk->GetValue())
		type = ECTCanWalk;
	return type;
}